/*
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2024-01-31 16:41:10
 * @LastEditors: sueRimn
 * @LastEditTime: 2024-02-29 15:36:49
 */
// 这里是一个默认的url，可以没有
let baseUrl = "";
// 自行替换资源域名
if (process.env.NODE_ENV === "development") {
  baseUrl = "";
} else if (process.env.NODE_ENV === "production") {
  if (window.location.origin.includes("https://guangde.judaiot.com:30110")) {
    baseUrl = "https://guangde.judaiot.com:30110/gd/";
  } else if (window.location.origin.includes("https://xfl.judaiot.com:30110")) {
    baseUrl = "https://xfl.judaiot.com:30110/xfl/";
  } else {
    baseUrl = "https://test-guangde.judaiot.com/";
  }
}

export default baseUrl;
